package com.xing.statistics;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableFeignClients //服务调用
@EnableDiscoveryClient //nacos注册 ，服务发现
@MapperScan("com.xing.statistics.mapper") //扫描mapper
@ComponentScan("com.xing")
@EnableScheduling //开启定时任务
public class staserviceMain8008 {
    public static void main(String[] args) {
        SpringApplication.run(staserviceMain8008.class,args);
    }
}
